#coding:utf-8
import database
import public
import servicer

class main():
    def __init__(self):
        self.db=database.database()
        self.render=public.render

    @public.catch_exception
    @public.check_login
    def GET(self):
        infos=servicer.servicer().get_infos()
        return self.render.index(infos=infos)